﻿using System.Linq;
using System.Web;
using System.Web.Optimization;


namespace LanDBom
{
    public class BundleConfig
    {
        // 有关捆绑的详细信息，请访问 https://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备就绪，请使用 https://modernizr.com 上的生成工具仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include("~/Scripts/bootstrap.min.js", "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Content/bootstrap.css", "~/Content/bootstrap.min.css",
                      "~/Content/Site.css"));
            //bundles.Add(new StyleBundle("~/Content/gercss").Include("~/Content/Css/Ger.css"));
            bundles.Add(new ScriptBundle("~/bundles/vue").Include("~/Scripts/vue.js", "~/Scripts/vue.min.js"));
            bundles.Add(new ScriptBundle("~/bundles/Element").Include("~/Scripts/ElementUI/element-ui.js"));
            bundles.Add(new StyleBundle("~/bundles/elementcss").Include("~/Content/ElementUI/element-ui.css"));
            bundles.Add(new StyleBundle("~/bundles/antdcss").Include("~/Content/antd.min.css"));
            bundles.Add(new ScriptBundle("~/bundles/antd").Include("~/Scripts/antd-with-locales.min.js","~/Scripts/antd.min.js"));
            bundles.Add(new ScriptBundle("~/bundles/Jquery").Include(
                     "~/Scripts/jquery-3.4.1.min.js", "~/Scripts/jquery3.4.1.js"));
            bundles.Add(new ScriptBundle("~/bundles/popper").Include("~/Scripts/popper.js", "~/Scripts/popper.min.js","~/Script/popper-utils.js"));
        }
    }
}
